<html>
	<head>
		<link rel="stylesheet" type="text/css" href="../yui_resources/build/fonts/fonts-min.css" />
		<link rel="stylesheet" type="text/css" href="../yui_resources/build/treeview/assets/skins/sam/treeview.css" />

		<script type="text/javascript" src="../yui_resources/build/yahoo-dom-event/yahoo-dom-event.js"></script>
		<script type="text/javascript" src="../yui_resources/build/dragdrop/dragdrop-min.js"></script>
		<script type="text/javascript" src="../yui_resources/build/element/element-beta-min.js"></script>
		<script type="text/javascript" src="../yui_resources/build/treeview/treeview-min.js"></script>
	</head>
	<body class=" yui-skin-sam">
	<div id="myTree"> </div>
	<script language="javascript">
		myTree_component = new YAHOO.widget.TreeView("myTree");
		root = myTree_component.getRoot();
n1_node = new YAHOO.widget.TextNode("Label 1", root, false);
		n1_1_node = new YAHOO.widget.HTMLNode("Label 1.1", n1_node, false);
		n1_2_node = new YAHOO.widget.HTMLNode("<span title='This is a tooltip'>Label 1.2</span>", n1_node, false);
n1_3_node = new YAHOO.widget.TextNode("Label 1.3", n1_node, false);
		n1_3_1_node = new YAHOO.widget.HTMLNode("Label 1.3.1", n1_3_node, false);
n2_node = new YAHOO.widget.TextNode("Label 2", root, false);
		n2_1_node = new YAHOO.widget.HTMLNode("<a href='http://www.google.com'>Label 2.1</a>", n2_node, false);
		n3_node = new YAHOO.widget.HTMLNode("<a href='http://www.google.com'>Label 3</a>", root, false);
		myTree_component.draw();
	</script>

	</body>
</html>